import{_ as m}from"./CodeView.vue.35ff1c2e.js";import{d as h}from"./dialog.vue.8eb3e3a2.js";import{h as v,a7 as a,l as b,o as _,E as y,R as l,V as e,u as p,S as f,v as t,a6 as s}from"./entry.335cb7d6.js";import"./_commonjsHelpers.725317a4.js";import"./index.3fe5add1.js";const g=l("div",{class:"mdh"},"页面效果",-1),P={class:"view"},C=l("div",{class:"mdh"},"特殊字段说明",-1),k=l("div",{class:"view"}," headerOptions中最重要的属性为：title、columns，其中columns字段通常是数组按钮集合，同表单字段一样，详见【表单组件字段说明】 ",-1),O=l("div",{class:"view"},"searchOptions中最重要的属性为：",-1),x=l("div",{class:"mdh"},"搜索详细",-1),q=v({__name:"descsearch",setup(D){const c=`
{
    title: $Lang.user.list.list_1,
    columns: [
        {
            comtype: "button",
            label: $Lang.user.list.list_2,
            onClick: () => addUerPopup(),
            perm: "addUser",
        },
    ]
}
`,r=`
// 【可选】搜索字段，同表单字段一样，详见【表单组件字段说明】
columns:[],
// 【可选】显示搜索按钮，默认true
search: true,
// 【可选】显示重置按钮，默认true
reset: true,
// 【可选】显示导出excel按钮，默认false
excel: false,
// 【可选】显示第二个导出按钮，默认false
excelInfo: false,
// 【可选】显示自动刷新按钮，默认false
autoreload: false
`,n=`
const searchOptions = computed(() => {
  return {
    columns: [
      {
        prop: 'username',
        comtype: 'input',
        placeholder: '请输入用户账号',
        slots: {
          append() {
            return (
              <el-tooltip
                content={'用户账号,批量用英文逗号(,)分割'}
                placement="top"
              >
                <el-icon>
                  <question-filled />
                </el-icon>
              </el-tooltip>
            )
          }
        }
      },
      {
        prop: 'status',
        placeholder: '请输入在线状态',
        comtype: 'select',
        options: [
          { label: 'PC在线', value: 1 },
          { label: 'WAP在线', value: 2 },
          { label: 'APP在线', value: 3 }
        ]
      },
      {
        prop: 'truename',
        placeholder: '请输入真实姓名',
        comtype: 'input'
      },
      {
        prop: 'usergroup',
        placeholder: '请选择用户分组',
        comtype: 'select',
        multiple: true,
        collapseTags: true,
        options: [
          { label: '分组1', value: 1 },
          { label: '分组2', value: 2 },
          { label: '分组3', value: 3 },
          { label: '分组4', value: 4 }
        ]
      },
      {
        prop: 'regtime',
        placeholder: '请输入注册时间',
        comtype: 'datepicker',
        type: 'daterange',
        startPlaceholder: '注册开始日期',
        endPlaceholder: '注册结束日期'
      }
    ]
  }
})
`,u=a({});s("formData",u);const i=a({});s("eventData",i);const d=b(()=>({columns:[{prop:"username",comtype:"input",placeholder:"请输入用户账号",slots:{append(){return e(t("el-tooltip"),{content:"用户账号,批量用英文逗号(,)分割",placement:"top"},{default:()=>[e(t("el-icon"),null,{default:()=>[e(t("question-filled"),null,null)]})]})}}},{prop:"agent",placeholder:"请输入直属分组",comtype:"input"},{prop:"status",placeholder:"请输入在线状态",comtype:"select",options:[{label:"PC在线",value:1},{label:"WAP在线",value:2},{label:"APP在线",value:3}]},{prop:"accountstatus",placeholder:"请选择账号状态",comtype:"select",options:[{label:"启用",value:1},{label:"停用",value:2}]},{prop:"tag",placeholder:"请选择用户标记",comtype:"select",multiple:!0,collapseTags:!0,options:[{label:"正常",value:1},{label:"危险",value:2},{label:"致命",value:3},{label:"测试",value:4}]},{prop:"truename",placeholder:"请输入真实姓名",comtype:"input"},{prop:"usergroup",placeholder:"请选择用户分组",comtype:"select",multiple:!0,collapseTags:!0,options:[{label:"分组1",value:1},{label:"分组2",value:2},{label:"分组3",value:3},{label:"分组4",value:4}]},{prop:"bankno",placeholder:"请输入身份ID号",comtype:"input"},{prop:"paytype",placeholder:"请选择支付类型",comtype:"select",multiple:!0,collapseTags:!0,options:[{label:"分组1",value:1},{label:"分组2",value:2},{label:"分组3",value:3},{label:"分组4",value:4}]},{prop:"ip",placeholder:"请输入登录IP",comtype:"input"},{prop:"regip",placeholder:"请输入注册ip",comtype:"input"},{prop:"regtime",placeholder:"请输入注册时间",comtype:"datepicker",type:"daterange",startPlaceholder:"注册开始日期",endPlaceholder:"注册结束日期"}]}));return(w,A)=>{const o=m;return _(),y(f,null,[g,l("div",P,[e(p(h),{searchOptions:p(d)},null,8,["searchOptions"])]),C,k,e(o,{code:c}),O,e(o,{code:r}),x,e(o,{code:n})],64)}}});export{q as default};
